package com.cloud.entity.mes;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 过程检验表(MesQmTestProcess)实体类
 *
 * @author makejava
 * @since 2022-04-29 14:00:01
 */
@Data
@Table(name = "mes_qm_testprocess")
public class MesQmTestProcess implements Serializable {
    private static final long serialVersionUID = -84916787010817765L;
    /**
     * id
     */
    @Column(name = "id")
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 工厂id
     */
    @Column(name = "factory_id")
    @ApiModelProperty(value = "工厂id")
    private String factoryId;
    /**
     * 单据号
     */
    @Column(name = "code")
    @ApiModelProperty(value = "单据号")
    private String code;
    /**
     * 工单号
     */
    @Column(name = "task_code")
    @ApiModelProperty(value = "工单号")
    private String taskCode;
    /**
     * 过程检验类型0首件检验 1巡查检验
     */
    @Column(name = "type")
    @ApiModelProperty(value = "过程检验类型0首件检验 1巡查检验")
    private Integer type;
    /**
     * 物料id
     */
    @Column(name = "product_id")
    @ApiModelProperty(value = "物料id")
    private String productId;
    /**
     * 物料编码
     */
    @Column(name = "product_code")
    @ApiModelProperty(value = "物料编码")
    private String productCode;
    /**
     * 物料名称
     */
    @Column(name = "product_name")
    @ApiModelProperty(value = "物料名称")
    private String productName;
    /**
     * 产品码
     */
    @Column(name = "bar_code")
    @ApiModelProperty(value = "产品码")
    private String barCode;
    /**
     * 检验结论
     */
    @Column(name = "test_result")
    @ApiModelProperty(value = "检验结论")
    private String testResult;
    /**
     * 检验人
     */
    @Column(name = "test_user_name")
    @ApiModelProperty(value = "检验人")
    private String testUserName;
    /**
     * 检验日期
     */
    @Column(name = "test_date")
    @ApiModelProperty(value = "检验日期")
    private Date testDate;
    /**
     * 创建时间
     */
    @Column(name = "cd_time")
    @ApiModelProperty(value = "创建时间")
    private Date cdTime;
    /**
     * 创建人id
     */
    @Column(name = "cd_userid")
    @ApiModelProperty(value = "创建人id")
    private String cdUserid;
    /**
     * 修改时间
     */
    @Column(name = "md_time")
    @ApiModelProperty(value = "修改时间")
    private Date mdTime;
    /**
     * 修改人id
     */
    @Column(name = "md_userid")
    @ApiModelProperty(value = "修改人id")
    private String mdUserid;
    /**
     * 删除标识0否1是
     */
    @Column(name = "deleted")
    @ApiModelProperty(value = "删除标识0否1是")
    private Integer deleted;
    /**
     * 创建人名称
     */
    @Column(name = "cdusername")
    @ApiModelProperty(value = "创建人名称")
    private String cdusername;
    /**
     * 修改人名称
     */
    @Column(name = "mdusername")
    @ApiModelProperty(value = "修改人名称")
    private String mdusername;
    /**
     * oem产品编码
     */
    @Column(name = "oem_product_code")
    @ApiModelProperty(value = "oem产品编码")
    private String oemProductCode;
    /**
     * oem产品名称
     */
    @Column(name = "oem_product_name")
    @ApiModelProperty(value = "oem产品名称")
    private String oemProductName;

    /**
     * 附件id
     */
    private String fileId;
}
